package day6;

public class test1 {
    public static void main(String[] args) {
        int num1=0;
        int num2=0;
        int one=1;
        for (int i=2;i<=100;i++){
            if (i%2!=1){
                num1+=i;
            }else {
                num2+=i;
            }
        }
        int number=num1-num2+one;
        System.out.println("该结果为："+number);

        byte b = (byte)129;
        System.out.println(b);
    }
}
